package summer_vacation.yangyiqing.m201508;

import java.util.Scanner;

/**
 * Created by Administrator on 2015/8/20 0020.
 */
public class Java_22 {
    public static void main(String[] args ){
        System.out.println("请输入一个正整数：");
        Scanner s=new Scanner(System.in);
        int num=s.nextInt();
        if(num %5 ==0 && num % 7 == 0){
            System.out.println("YES");
        }else{
            System.out.println("NO");
        }
    }
}
